package com.ruoyi.base.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 仓库管理对象 warehouse
 *
 * @author ruoyi
 * @date 2023-04-28
 */
public class Warehouse extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 仓库编号
     */
    @Excel(name = "仓库编号")
    private Long WarehouseID;

    /**
     * 仓库名
     */
    @Excel(name = "仓库名")
    private String Name;

    /**
     * 负责人
     */
    @Excel(name = "负责人")
    private Long Leader;

    /**
     * 联系电话
     */
    @Excel(name = "联系电话")
    private String Tel;

    /**
     * 地址
     */
    @Excel(name = "地址")
    private String Addr;


    @Excel(name = "说明")
    private String Remark;

    /**
     * 地图坐标
     */
    private String LatY;

    /**
     * 地图坐标
     */
    private String LngX;

    /**
     * 开启状态0开启1锁定
     */
    private Integer Status;

    /**
     * 创建用户名
     */
    private String CreateUserName;

    /**
     * $column.columnComment
     */
    private Long CreateUserID;

    /**
     * 创建时间
     */
    private Date CreateDate;

    /**
     * $column.columnComment
     */
    private Long EditUserID;

    /**
     * 修改的用户名
     */
    private String EditUserName;

    /**
     * 修改时间
     */
    private Date EditDate;

    public Long getWarehouseID() {
        return WarehouseID;
    }

    public void setWarehouseID(Long WarehouseID) {
        this.WarehouseID = WarehouseID;
    }

    public String getName() {
        return Name;
    }

    public void setName(String Name) {
        this.Name = Name;
    }

    public Long getLeader() {
        return Leader;
    }

    public void setLeader(Long Leader) {
        this.Leader = Leader;
    }

    public String getTel() {
        return Tel;
    }

    public void setTel(String Tel) {
        this.Tel = Tel;
    }

    public String getAddr() {
        return Addr;
    }

    public void setAddr(String Addr) {
        this.Addr = Addr;
    }

    public String getLatY() {
        return LatY;
    }

    public void setLatY(String LatY) {
        this.LatY = LatY;
    }

    public String getLngX() {
        return LngX;
    }

    public void setLngX(String LngX) {
        this.LngX = LngX;
    }

    public Integer getStatus() {
        return Status;
    }

    public void setStatus(Integer Status) {
        this.Status = Status;
    }

    public String getRemark() {
        return Remark;
    }

    public void setRemark(String remark) {
        Remark = remark;
    }

    public String getCreateUserName() {
        return CreateUserName;
    }

    public void setCreateUserName(String CreateUserName) {
        this.CreateUserName = CreateUserName;
    }

    public Long getCreateUserID() {
        return CreateUserID;
    }

    public void setCreateUserID(Long CreateUserID) {
        this.CreateUserID = CreateUserID;
    }

    public Date getCreateDate() {
        return CreateDate;
    }

    public void setCreateDate(Date CreateDate) {
        this.CreateDate = CreateDate;
    }

    public Long getEditUserID() {
        return EditUserID;
    }

    public void setEditUserID(Long EditUserID) {
        this.EditUserID = EditUserID;
    }

    public String getEditUserName() {
        return EditUserName;
    }

    public void setEditUserName(String EditUserName) {
        this.EditUserName = EditUserName;
    }

    public Date getEditDate() {
        return EditDate;
    }

    public void setEditDate(Date EditDate) {
        this.EditDate = EditDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("WarehouseID", getWarehouseID())
                .append("Name", getName())
                .append("Leader", getLeader())
                .append("Tel", getTel())
                .append("Addr", getAddr())
                .append("LatY", getLatY())
                .append("LngX", getLngX())
                .append("Remark", getRemark())
                .append("Status", getStatus())
                .append("CreateUserName", getCreateUserName())
                .append("CreateUserID", getCreateUserID())
                .append("CreateDate", getCreateDate())
                .append("EditUserID", getEditUserID())
                .append("EditUserName", getEditUserName())
                .append("EditDate", getEditDate())
                .toString();
    }
}
